package com.zzyl.mapper;

import com.zzyl.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysUserMapper {

    //查询登录用户信息
    @Select("SELECT * FROM sys_user WHERE username = #{username} and is_delete = 0;")
    SysUser selectSysUser(@Param("username") String username);
}
